<?php

namespace App\ModelTransfers\WsFund;


use App\ModelTransfers\Base;

class WsFund extends Base
{
    protected $table = 'ws_fund.uni_fund_order';


    public function  log()
    {
        return $this->hasOne(ApiLog::class,'order_id','apply_id')
            ->select('response')
            ->where('biz_type','=','queryLoanResult')
            ->where('track','=','fundSystem')
            ->where('resp_code', '=', '200')->orderByDesc('id');
    }
}
